import request from '@/utils/request'

export function getList(data) {
  
  const params = new URLSearchParams(data).toString();
  return request({
    url: `/house/api/user/getList?${params}`,
    method: 'get'
  })
}

export function doEdit(data) {
  return request({
    url: '/house/api/room/admin-add',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: '/house/api/room/admin-del',
    method: 'post',
    data,
  })
}
